package com.gitee.wsl.css.components

import com.gitee.wsl.css.rule.RuleSet

interface ViewInterface {

    var id: String?

    val children: Set<ViewInterface>

    val namedStyles: MutableMap<String, RuleSet>
        get() = mutableMapOf<String, RuleSet>()

    fun addRuleSetToView(ruleSet: RuleSet)
}